home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 21
/
Cream of the Crop 21 (Terry Blount) (October 1996).iso
/
windows
/
stallrel.zip
/
I386
/
OEMSETUP.INF
next >
Wrap
INI File
|
1995-11-27
|
35KB
|
1,222 lines
[Identification]
OptionType = NetAdapter
[Options]
EIO = "Stallion EasyIO"
EC8_32 = "Stallion EasyConnection 8/32"
EC8_64 = "Stallion EasyConnection 8/64"
[LanguagesSupported]
ENG
[Source Media Descriptions]
1 = "Stallion Driver Disk", TAGFILE = StlnATA1.txt
[Files_Config]
DLL = 1, stlncfg.dll, SIZE=65000
HLP = 1, stlncfg.hlp, SIZE=400000
[Files_Driver]
Driver = 1, StlnATA.sys, SIZE=250000
[Files_Inf]
Inf = 1, oemsetup.inf, SIZE=40000, RENAME=$(!UG_Filename)
[GeneralConstants]
NoTitle = 0
KeyNull = ""
MaskAllAccess = 33554432
ErrorIndex = "NO_ERROR"
ErrorPrefix = ""
UtilityInf = "utility.inf"
SubroutineInf = "subroutn.inf"
[InstallConstants]
StlnCfgHandle = $(HandleNull)
Manufacturer = "Stallion"
ProductSoftwareName = "StlnATA"
ProductHardwareName = "StlnATA"
ProductSoftwareTitle = "Stallion ATA Driver"
ProductSoftwareDescription = "Stallion EasyIO/EasyConnection driver"
ProductMajorVersion = "5"
ProductMinorVersion = "2.0"
ProductVersion = $(ProductMajorVersion)"."+
$(ProductMinorVersion)
ProductSoftwareImagePath = "%SystemRoot%\System32\drivers\StlnATA.sys"
ProductKeyName = $(!NTN_SoftwareBase)"\"$(Manufacturer)+
"\"$(ProductSoftwareName)"\CurrentVersion"
NTKeyName = $(!NTN_SoftwareBase)"\Microsoft\Windows NT"+
"\CurrentVersion"
NetworkCardsKeyName = $(!NTN_SoftwareBase)"\Microsoft\Windows NT"+
"\CurrentVersion\NetworkCards"
ProductSoftwareHidden = 1
SoftwareType = "driver"
NetRuleSoftwareType = "stlnATA_Sys serialDriver stlnATA_Driver"
NetRuleSoftwareUse = $(SoftwareType)
NetRuleSoftwareBindForm = """stlnATA_Driver"" yes no container"
NetRuleSoftwareClass = {"serialDriver basic",+
"stlnATA_Driver basic"}
NetRuleSoftwareBindable = {"stlnATA_Driver stlnATA_Adapter "+
"non exclusive 100"}
NetRuleHardwareType = "stlnATA stlnATA_Adapter"
NetRuleHardwareBindForm = " yes yes container"
NetRuleHardwareClass = {"stlnATA_Adapter basic"}
IoLogMsgDLL = "%SystemRoot%\System32\IoLogMsg.dll"
SerialMapParent = "HARDWARE\DEVICEMAP"
SerialMapKeyName = "SERIALCOMM"
SerialMap = $(SerialMapParent)"\"$(SerialMapKeyName)
EISAAdapter = "HARDWARE\Description\System\EISAAdapter"
MultiAdapter = "HARDWARE\Description\System\"+
"MultifunctionAdapter"
EC8_32_PCIVendorId = 4107
EC8_32_PCIDeviceId = 53249
[MessageConstantsENG]
FunctionTitle = "Stallion Multiport Setup"
ShellCodeErrorTitle = "Error: "$(FunctionTitle)
ShellCodeErrorText = "Shell Code Error."
UpdateCfgMessage = "Updating configuration information"
CardExistedText = "There are already one or more Stallion "+
"cards installed in the system. "+
"Do you want to install another?"
ProCaption = "Stallion Adapter Setup"
ProCancel = "Cancel"
ProCancelMsg = "Installation is not complete. "+
"Are you sure you want to cancel "+
"copying files?"
ProCancelCap = "Stallion Setup Message"
ProText1 = "Copying:"
ProText2 = "To:"
[ErrorStringsENG]
STLN_NO_BIND = "Binding not implemented"
STLN_NO_BUS_FOUND = "Can't find system bus in Registry"
STLN_SHELLCODE_ERROR = "Shell command failed"
STLN_CREATE_PANEL_KEY = "Unable to create Panel key in Registry"
STLN_OPEN_SOFTWARE_KEY = "Unable to open Software Product key in "+
"Registry"
STLN_OPEN_PARAM_KEY = "Unable to open Netcard Parameters key in "+
"Registry"
STLN_CREATE_SMAP_KEY = "Unable to create "$(SerialMapKeyName)+
" key in Registry"
STLN_OPEN_NETCARD_KEY = "Unable to open network card key in Registry"
STLN_OPEN_NT_KEY = "Unable to open Windows NT key in Registry"
[Identify]
read-syms Identification
set Status = STATUS_SUCCESSFUL
set Identifier = $(OptionType)
set Media = #("Source Media Descriptions", 1, 1)
return $(Status) $(Identifier) $(Media)
[ReturnOptions]
set Status = STATUS_FAILED
set OptionList = {}
set OptionTextList = {}
set LanguageList = ^(LanguagesSupported, 1)
ifcontains(i) $($0) not-in $(LanguageList)
set Status = STATUS_NOLANGUAGE
goto ReturnOptions_return
endif
set OptionList = ^(Options, 0)
set OptionTextList = ^(Options, 1)
set Status = STATUS_SUCCESSFUL
ReturnOptions_return = +
return $(Status) $(OptionList) $(OptionTextList)
: Called by NCPASHEL.INF to do install/deinstall/update/configure.
[InstallOption]
StartWait
set Language = $($0)
set Option = $($1)
set SrcDir = $($2)
set AddCopy = $($3)
set DoCopy = $($4)
set DoConfig = $($5)
set LanguageList = ^(LanguagesSupported, 1)
ifcontains(i) $(Language) not-in $(LanguageList)
return STATUS_NOLANGUAGE
endif
read-syms GeneralConstants
read-syms InstallConstants
read-syms MessageConstants$(Language)
set-title $(FunctionTitle)
detect date
set OEM_ABANDON_ON = FALSE
set CommonStatus = STATUS_SUCCESSFUL
ifstr(i) $(!NTN_InstallMode) == update
goto DoUpdate
else-ifstr(i) $(!NTN_InstallMode) == configure
goto DoConfigure
else-ifstr(i) $(!NTN_InstallMode) == deinstall
goto DoRemove
else-ifstr(i) $(!NTN_InstallMode) == bind
goto DoBind
endif
DoInstall = +
set OEM_ABANDON_ON = TRUE
set OEM_ABANDON_OPTIONS = {}
set OEM_ABANDON_SOFTWARE = FALSE
OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName) $(MaskAllAccess) +
KeyProduct
ifstr $(KeyProduct) == $(KeyNull)
set DriverAlreadyInstalled = FALSE
else
CloseRegKey $(KeyProduct)
set DriverAlreadyInstalled = TRUE
ifstr(i) $(!NTN_RegBase) == $(ProductKeyName)
shell $(UtilityInf) VerExistedDlg $(ProductSoftwareTitle) +
$(ProductVersion)
ifint $($ShellCode) != $(!SHELL_CODE_OK)
goto shellcode_error
endif
goto end
endif
shell "" CardExistedDlg
ifint $($ShellCode) != $(!SHELL_CODE_OK)
goto shellcode_error
endif
ifstr(i) $($R1) != "OK"
set CommonStatus = STATUS_USERCANCEL
goto end
endif
endif
ifstr(i) $(DriverAlreadyInstalled) == FALSE
ifstr(i) $(DoCopy) == YES
shell $(UtilityInf) DoAskSource $(!STF_CWDDIR) $(SrcDir) YES
ifint $($ShellCode) != $(!SHELL_CODE_OK)
goto shellcode_error
else-ifstr(i) $($R0) == STATUS_FAILED
set ErrorIndex = ASK_SOURCE_FAIL
goto fatalmessage
else-ifstr(i) $($R0) == STATUS_USERCANCEL
set CommonStatus = STATUS_USERCANCEL
goto end
endif
set SrcDir = $($R1)
endif
install Install_Option
ifstr(i) $(STF_INSTALL_OUTCOME) != STF_SUCCESS
set ErrorIndex = UNABLE_COPY_FILE
goto fatalmessage
endif
endif
shell "" GetSystemCfgData
set ErrorIndex = $($R0)
set ErrorPrefix = $($R1)
set numISA = $($R2)
set numEISA = $($R3)
set numMCA = $($R4)
set numPCI = $($R5)
set ComPortList = $($R6)
ifint $($ShellCode) != $(!SHELL_CODE_OK)
goto shellcode_error
endif
ifstr(i) $(ErrorIndex) != NO_ERROR
goto fatalmessage
endif
shell "" GetNewPCIBoards $(Option)
set ErrorIndex = $($R0)
set ErrorPrefix = $($R1)
set PCIBoardList = $($R2)
ifint $($ShellCode) != $(!SHELL_CODE_OK)
goto shellcode_error
endif
ifstr(i) $(ErrorIndex) != NO_ERROR
goto fatalmessage
endif
LoadLibrary "x" $(!STF_CWDDIR)stlncfg.dll StlnCfgHandle
shell $(SubroutineInf) PopBillBoard
LibraryProcedure Result $(StlnCfgHandle) DoStlnConfig +
$(!STF_HWND) $(Option) $(numISA) $(numEISA) $(numMCA) $(numPCI) +
$(PCIBoardList) $(ComPortList)
ifstr(i) $(StlnCfgHandle) != $(HandleNull)
FreeLibrary $(StlnCfgHandle)
endif
set CfgParameters = $(Result)
set CfgError = *($(CfgParameters),1)
ifint $(CfgError) == 0
set CommonStatus = STATUS_USERCANCEL
goto end
endif
ifint $(CfgError) < 0
goto fatal
endif
set BusType = *($(CfgParameters), 2)
set BusNumber = *($(CfgParameters), 3)
set Slot = *($(CfgParameters), 4)
set IOBase = *($(CfgParameters), 5)
set IO2Base = *($(CfgParameters), 6)
set